.TH qlfqueue_enqueue 3 "APRIL 2011" libqthread "libqthread"
.SH NAME
.BR qlfqueue_enqueue " \- append an element to a lock-free queue"
.SH SYNOPSIS
.B #include <qthread/qlfqueue.h>

.I int
.br
.B qlfqueue_enqueue
.RI "(qlfqueue_t *" q ", void *" elem );
.SH DESCRIPTION
This function appends elements to lock-free queues.
.SH RETURN VALUE
The return value will be 0 for success, or will indicate an error.
.SH ERROR CODES
Possible error codes are:
.TP 4
QTHREAD_BADARGS
This indicates that one of the input arguments was null.
.SH SEE ALSO
.BR qdqueue_enqueue (3),
.BR qlfqueue_create (3),
.BR qlfqueue_enqueue (3),
.BR qlfqueue_dequeue (3),
.BR qlfqueue_empty (3)
